package com.usefullc.system.mapper;

import org.apache.ibatis.annotations.*;

import java.util.LinkedHashMap;
import java.util.List;
import java.util.Map;

@Mapper
public interface UsefulMapper {

    @Select("${sql}")
    List<LinkedHashMap<String, Object>> select(Map<String, Object> map);

    @Insert("${sql}")
    int insert(Map<String, Object> map);

    @Update("${sql}")
    int update(Map<String, Object> map);

    @Delete("${sql}")
    int delete(Map<String, Object> map);
}
